InstreamAdPlayerListener

This interface used to handle callbacks of instream ad player. Callback calls on this object should respond to appropriate method calls on InstreamAdPlayer

Functions

Link copied to clipboard
abstract fun onAdBufferingFinished(videoAd: VideoAd)

Fire this callback when instream ad player ended buffering the videoAd

Link copied to clipboard
abstract fun onAdBufferingStarted(videoAd: VideoAd)

Fire this callback when instream ad player started buffering the videoAd

Link copied to clipboard
abstract fun onAdCompleted(videoAd: VideoAd)

Fire this callback when instream ad player completed playing videoAd

Link copied to clipboard
abstract fun onAdPaused(videoAd: VideoAd)

Fire this callback when instream ad player paused playing videoAd

Link copied to clipboard
abstract fun onAdPrepared(videoAd: VideoAd)

Fire this callback when instream ad player is ready to present videoAd

Link copied to clipboard
abstract fun onAdResumed(videoAd: VideoAd)

Fire this callback when instream ad player resumed playing videoAd

Link copied to clipboard
abstract fun onAdSkipped(videoAd: VideoAd)

Fire this callback when instream ad player stopped playing videoAd

Link copied to clipboard
abstract fun onAdStarted(videoAd: VideoAd)

Fire this callback when instream ad player started playing videoAd

Link copied to clipboard
abstract fun onAdStopped(videoAd: VideoAd)

Fire this callback when instream ad player stopped playing videoAd

Link copied to clipboard
abstract fun onError(videoAd: VideoAd, error: InstreamAdPlayerError)

Fire this callback when error occures in instream ad player while preparing or playing videoAd

Link copied to clipboard
abstract fun onVolumeChanged(videoAd: VideoAd, volume: Float)

Fire this callback when instream ad player volume was updated